import request from "@/api/index.js"

// 获取个人资料
export function getUserInfoApi() {
	return request({
		url: "/user/personalInformation",
		method: "get"
	})
}

// 提交修改的个人资料
export function putMaterialApi(data) {
	return request({
		url: "/user/personalInformation",
		method: "put",
		data
	})
}
